<#include "/com/uikoo9/util/jfinal/view/common/inc.html"/>

<@bslist qpage=qpage>
	<@bstable>
		<thead>
			<tr>
		        <th><input type="checkbox" class="allcheck"/></th>
				
				
				<th>创建时间</th>
				<th>名称</th>
				<th>价值观</th>
				<th>相关行业</th>
				<th>团队描述</th>
								
				<th>操作</th>
			</tr>
		</thead>
		<tbody>
		    <#list qpage.list?if_exists as row>
			    <tr data="id:${row.id};">
			        <td><input type="checkbox" class="onecheck"/></td>
				    				    
									    
					<td>${(row.cdate)!}</td>				    
					<td>${(row.y_team_name)!}</td>				    
					<td>${(row.y_team_values)!}</td>				    
					<td>${(row.y_team_inds)!}</td>				    
					<td>${(row.y_team_desc)!}</td>				    
					<td>
			        	<@bsbutton size='xs' icon='pencil' class='editbtn'/>
			        	<@bsbutton size='xs' icon='remove' class='delbtn'/>
			        	<@bsbutton size='xs' icon='user' class='userbtn'/>
			        </td>
			    </tr>
		    </#list>
		</tbody>
	</@bstable>
</@bslist>
<script type="text/javascript">

    $(document).ready(function () {
        $(".userbtn").kq_bind("click",function(){
            var id = $(this).parents('tr').qdata().id;
            qiao.bs.dialog({
                url : '/y/c/setteam/' + id,
                title : '设置用户',
                okbtn : false
            });
        },{'title':"完成"});
    });

</script>